<form action="{{ category.get_delete_url }}" method="post" style="display: inline;">
    {% csrf_token %}
    <input type="submit" value="удалить" class="delete-something">
</form>
